//
//  ImgManager.h
//  NewPro
//
//  Created by RYX on 2018/10/22.
//  Copyright © 2018年 何荧红. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface ImgManager : NSObject

/**
 * 压缩图片
 */
+ (UIImage *)getSimpleImg:(UIImage *)img;

/**
 * 保存图片到沙盒
 */
+ (void)saveImage:(UIImage *)tempImage WithName:(NSString *)imageName;

/**
 * 图片转ubase64
 */
+ (NSString *)imageToString:(UIImage *)image;

+ (BOOL)imageHasAlpha:(UIImage *) image;
@end


